﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>SOFIA</title>

    <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css">
    <script type="text/javascript" src="extjs/ext-debug.js"></script>
    <script type="text/javascript" src="app.js"></script>
    <script src="app/controller/WebGL/glMatrix-0.9.5.min.js" type="text/javascript"></script>
    <script src="app/controller/WebGL/PhiloGL.js" type="text/javascript"></script>
    <script src="app/controller/WebGL/WebGL.js" type="text/javascript"></script>
    <script src="app/controller/EulerIntegrator.js" type="text/javascript"></script>

<!--    WebGL shader stuff
    Learning WebGL
    http://learningwebgl.com/blog/?p=28
    http://www.senchalabs.org/philogl/PhiloGL/examples/lessons/11/
    -->

    <script id="shader-fs" type="x-shader/x-fragment">
    precision mediump float;

    void main(void) {
        gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);
    }
    </script>

    <script id="shader-vs" type="x-shader/x-vertex">
    attribute vec3 aVertexPosition;

    uniform mat4 uMVMatrix;
    uniform mat4 uPMatrix;

    void main(void) {
        gl_Position = uPMatrix * uMVMatrix * vec4(aVertexPosition, 1.0);
    }
    </script>

</head>

<body>
    <div id="scene"></div>
</body>
</html>